package top.zhaojx.rpc.serviceImpl;

import top.zhaojx.rpc.annotation.RpcService;
import top.zhaojx.rpc.api.ByeService;

@RpcService(group = "test1", version = "version1")
public class ByeServiceImpl implements ByeService {

    static {
        System.out.println("ByeServiceImpl被创建");
    }

    @Override
    public String bye(String name) {
        return "bye, " + name;
    }
}